<!--{include(pe_tpl('header.html'));}-->
<div class="right">
	<!--{include(pe_tpl('setting_menu.html'));}-->
	<form method="post" id="form">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20">
	<tr>
		<td align="right" width="150">SMTP地址：</td>
		<td><input type="text" name="info[email_smtp]" value="{$info['email_smtp']['setting_value']}" class="inputall input200" /> <span class="c888">（例：smtp.qq.com）</span></td>
	</tr>
	<tr>
		<td align="right">SMTP端口：</td>
		<td><input type="text" name="info[email_port]" value="{$info['email_port']['setting_value']}" class="inputall input200" /> <span class="c888">（例：25）</span></td>
	</tr>
	<tr>
		<td align="right">发件人邮箱：</td>
		<td><input type="text" name="info[email_name]" value="{$info['email_name']['setting_value']}" class="inputall input200" /> <span class="c888">（例：123456@qq.com）</span></td>
	</tr>
	<tr>
		<td align="right">发件人密码：</td>
		<td><input type="text" name="info[email_pw]" value="{$info['email_pw']['setting_value']}" class="inputall input200" /></td>
	</tr>
	<tr>
		<td align="right">发件人姓名：</td>
		<td><input type="text" name="info[email_nname]" value="{$info['email_nname']['setting_value']}" class="inputall input200" /> <span class="c888">（例：简好网络）</span></td>
	</tr>
	<tr>
		<td align="right">管理员邮箱：</td>
		<td>
			<input type="text" name="info[email_admin]" value="{$info['email_admin']['setting_value']}" class="inputall input350" />
			<a href="javascript:;" class="hy_btn" id="email_test" />发送测试邮件</a>
			<span class="c888">（用于接收邮件通知，多个用“,”隔开）</span>	
		</td>
	</tr>
	<tr>
		<td></td>
		<td>
			<input type="hidden" name="pesubmit" />
			<input type="hidden" name="pe_token" value="{$pe_token}" />
			<input type="submit" value="提 交" class="tjbtn" />
		</td>
	</tr>
	</table>
	</form>
</div>
<script type="text/javascript">
$(function(){
	$("#email_test").click(function(){
		$(this).attr("href", "admin.php?mod=setting&act=email_test&user="+$(":input[name='info[email_admin]']").val()+"&token={$pe_token}")
	})
})
</script>
<!--{include(pe_tpl('footer.html'));}-->